<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>产品月销量</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
    body {
        font-family: Arial, sans-serif;
      }
      
      table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
      }
      
      th, td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: left;
      }
      
      th {
        background-color: #f2f2f2;
      }
      
      caption {
        font-size: 24px;
        margin-bottom: 10px;
      }
      
      tr:nth-child(even) {
        background-color: #f9f9f9;
      }
      
      tr:last-child {
        font-weight: bold;
      }
  <table>
    <caption>产品月销量</caption>
    <thead>
      <tr>
        <th>ID</th>
        <th>产品名称</th>
        <th>销量</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>2021090901</td>
        <td>马克杯</td>
        <td>5000</td>
      </tr>
      <tr>
        <td>2021090901</td>
        <td>啤酒杯</td>
        <td>5200</td>
      </tr>
      <tr>
        <td>2021090901</td>
        <td>搪瓷杯</td>
        <td>3500</td>
      </tr>
      <tr>
        <td colspan="2">合计</td>
        <td>13700</td>
      </tr>
    </tbody>
  </table>
</body>
</html>